package com.dlws.modules.index.entity;

import java.util.Date;

import javax.persistence.Id;
import javax.persistence.Table;


/**
 * 
 * 描述：登录实体
 * 创建人： 魏泽超
 * 创建时间: 2016-5-30 下午4:16:07
 * @version
 */

@Table(name="t_admin")
public class Admin {
	@Id
	private Integer userid; //主键id

	private String username;//登录用户名
	
	private String password;//登录用户名
	
	private Integer roleid; // 角色id
	
	private String encrypt;//加密因子
	
	private String lastloginip; //最后登录ip
	
	private Date lastlogintime; //最后登录时间 
	
	private String realname; //真实姓名
	

	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getRoleId() {
		return roleid;
	}

	public void setRoleId(Integer roleId) {
		this.roleid = roleId;
	}

	public String getEncrypt() {
		return encrypt;
	}

	public void setEncrypt(String encrypt) {
		this.encrypt = encrypt;
	}

	public String getLastLoginIp() {
		return lastloginip;
	}

	public void setLastLoginIp(String lastLoginIp) {
		this.lastloginip = lastLoginIp;
	}

	public Date getLastLoginTime() {
		return lastlogintime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastlogintime = lastLoginTime;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}
	
	
}
